import request from "../utils/request"


//注册接口
export const registerApi = async (body) => {
    return await request.post('/api/auth/register', body)
}

//登录接口
export const loginApi = async (body) => {
    return await request.post('/api/auth/login', body)
}